public class Student {
    private String name;
    private String studentId;
    private String className; // 班级名称，例如 "一班" 或 "二班"

    public Student(String name, String studentId, String className) {
        this.name = name;
        this.studentId = studentId;
        this.className = className;
    }

    // Getters and toString() for displaying student information
    public String getName() {
        return name;
    }

    public String getStudentId() {
        return studentId;
    }

    public String getClassName() {
        return className;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", studentId='" + studentId + '\'' +
                ", className='" + className + '\'' +
                '}';
    }
}
